package com.bw.baseapplication

import android.app.Application
import android.content.Context
import androidx.multidex.MultiDex

open class BaseApplication : Application() {

    companion object{
        lateinit var baseApplication : BaseApplication
    }

    override fun attachBaseContext(base: Context?) {
        super.attachBaseContext(base)
        MultiDex.install(this)
    }
    override fun onCreate() {
        super.onCreate()
        BaseApplication.baseApplication = this
    }
}